package com.jy.controller;


import com.jy.entity.Advertitsing;
import com.jy.service.IAdvertitsingService;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author LiuXiaoChuan
 * @since 2022-11-14
 */
@RestController
@RequestMapping("/advertitsing")
public class AdvertitsingController {

    @Resource
    private IAdvertitsingService iAdvertitsingService;

    @RequestMapping("/Advertitsing")
    public List<Advertitsing> Advertitsing(){
        List  list=iAdvertitsingService.alldvertitsing();
        System.out.println("好了");
        return list;
    }

}
